package com.stylefeng.guns.modular.drugstype.service;

import com.stylefeng.guns.common.persistence.model.Drugs;
import com.stylefeng.guns.common.persistence.model.DrugsType;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * drugstypeService
 *
 * @author fengshuonan
 * @Date 2019-07-12 10:27:32
 */
public interface IDrugstypeService {
    List<Map<String, Object>> list(@Param("condition") String condition);


    /**
     * 判断是否删除
     * @param id
     * @return
     */
    int IfDrugsType(Integer id);
    /**根据id查询带类别的
     * @param id
     * @return
     */
    DrugsType getDrugsById(Integer id);
}
